﻿using Cysharp.Threading.Tasks;

namespace FpFrame
{
    // --------------------------
    // 模块服务接口/基类
    // --------------------------
    public abstract class ModuleManager : MonoManager, IInitialize, IStart
    {
        // 模块层异步初始化
        public virtual async UniTask InitAsync()
        {
            await UniTask.Yield(); // 占位，可在子类异步加载资源
        }

        // 模块层异步 Start
        public virtual async UniTask StartAsync()
        {
            await UniTask.Yield();
        }
    }
}